package top.rainbowecho.common.util;

import java.util.HashMap;
import java.util.Map;

/**
 * @author rainbow
 * @since 2019/12/14 16:43
 */
public class ResultParamFactory {
    private Map<String, Object> params = new HashMap<>();

    public ResultParamFactory add(String key, Object content) {
        params.put(key, content);
        return this;
    }

    public Map<String, Object> build() {
        return this.params;
    }
}
